package cn.jjxx.modules.activiti.entity;

import org.activiti.bpmn.model.UserTask;

public class MyUserTask extends UserTask{

	public static final int ASSIGNEE = 1; //处理人
	
	public static final int CANDIDATE_USERS = 2; //候选人
	
	public static final int CANDIDATE_GROUP = 3; //候选组
	
	/**是否有任务监听*/
	private boolean hasTaskLenser = false; 
	/**是否执行监听*/
	private boolean hasExecutionLenser = false; 
	/**处理人类型（）*/
	private int dealingType = 0;
	/**流程定义Id*/
	private String preDefId;
	/**流程模型Id*/
	private String modelId;
	/**处理人名称*/
	private String userName;
	/**候选组*/
	private String candidateGroup;
	/**候选组名称*/
	private String candidateGroupName;
	/**候选人*/
	private String candidateUser;
	/**候选人名称*/
	private String candidateUserName;
	/**排序*/
	private String sortNum;
	/**短信模板*/
	private String sendMsgTemplet;
	
	public boolean isHasTaskLenser() {
		return hasTaskLenser;
	}
	public void setHasTaskLenser(boolean hasTaskLenser) {
		this.hasTaskLenser = hasTaskLenser;
	}
	public boolean isHasExecutionLenser() {
		return hasExecutionLenser;
	}
	public void setHasExecutionLenser(boolean hasExecutionLenser) {
		this.hasExecutionLenser = hasExecutionLenser;
	}
	public int getDealingType() {
		return dealingType;
	}
	public void setDealingType(int dealingType) {
		this.dealingType = dealingType;
	}
	public String getPreDefId() {
		return preDefId;
	}
	public void setPreDefId(String preDefId) {
		this.preDefId = preDefId;
	}
	public String getModelId() {
		return modelId;
	}
	public void setModelId(String modelId) {
		this.modelId = modelId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getCandidateGroup() {
		return candidateGroup;
	}
	public void setCandidateGroup(String candidateGroup) {
		this.candidateGroup = candidateGroup;
	}
	public String getCandidateGroupName() {
		return candidateGroupName;
	}
	public void setCandidateGroupName(String candidateGroupName) {
		this.candidateGroupName = candidateGroupName;
	}
	public String getCandidateUser() {
		return candidateUser;
	}
	public void setCandidateUser(String candidateUser) {
		this.candidateUser = candidateUser;
	}
	public String getCandidateUserName() {
		return candidateUserName;
	}
	public void setCandidateUserName(String candidateUserName) {
		this.candidateUserName = candidateUserName;
	}
	public String getSortNum() {
		return sortNum;
	}
	public void setSortNum(String sortNum) {
		this.sortNum = sortNum;
	}
	public String getSendMsgTemplet() {
		return sendMsgTemplet;
	}
	public void setSendMsgTemplet(String sendMsgTemplet) {
		this.sendMsgTemplet = sendMsgTemplet;
	}
	
}
